package com.practice.retry;

public abstract class RetryTask {
		
	private int retryCount;	
	private boolean isSuccess;
	private Object[] arguments;

	public int getRetriedTimes() {
		return retryCount;
	}

	void setRetriedTimes(int retryCount) {
		this.retryCount = retryCount;
	}

	public boolean isSuccess() {
		return isSuccess;
	}

	void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}
	
	public Object[] getArguments() {
		return arguments;
	}
	
	public void setArguments(Object... args) {
		this.arguments = args;
	}
}
